package com.hs.sfzy.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
/**
 * @description 公益中心实体类
 * @author shanglin
 * @date 2024/10/24 10:16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Free {

  private long id;
  private String name;
  private String simplyIntroduce;
  private String img;
  private String text;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date createTime;
}
